package com.gome.bg.util;

import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;

import org.apache.cxf.tools.java2ws.JavaToWS;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class TestMain {

     
	private static Logger log = LoggerFactory.getLogger(TestMain.class);  
    public static void main(String[] args) {  
        log.trace("======trace");  
        log.debug("======debug");  
        log.info("======info");  
        log.warn("======warn");  
        log.error("======error");  
        Map map =new HashMap();
        
        
        map.put("11", "22");
        map.put("33", "44");
        map.put("55", "66");
//        
        boolean flag = true;
		
		 Set<String> key = map.keySet();
	        for (Iterator it = key.iterator(); it.hasNext();) {
	            String s = (String) it.next();
	            String name = (String) map.get(s);
	            if(map.get(s).equals("1")){
	            	  flag = true;
	            	break;
	            }
	            flag = false;
	        }
		
	        System.out.println(flag);
    }  
}